﻿using Books02.Models;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Books02.Services
{
    public interface IBooksService
    {
        Task<Book> AddOrUpdateBookAsync02(Book book);//Task异步
        Book GetBook02(int bookId);
        Task LoadBooksAsync02();
        IEnumerable<Book> Books02 { get; }
    }
}